package com.example.workoutjournal;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;



public class MainActivity extends Activity {

	public final static String EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE";
    @SuppressLint("NewApi")
	@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getActionBar().hide();
        setContentView(R.layout.activity_main);
        TextView txt = (TextView) findViewById(R.id.workout_journal);
        Typeface font = Typeface.createFromAsset(getAssets(), "thin_skinned.ttf");
        txt.setTypeface(font);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
    public void goToMyStats(View view){
    	Intent intent = new Intent(this, MyStats.class);
    	startActivity(intent);
    }
    
    public void goToMyExercises(View view){
    	Intent intent = new Intent(this, MyExercises.class);
    	startActivity(intent);
    }
    
}
